﻿#include "networkframemanager.h"
#include "wtcpclient.h"
#include "wtcpserver.h"
#include "whttpserver.h"
#include "wwebsocketserver.h"

NetworkFrameManager::NetworkFrameManager()
{

}

NetworkFrameManager::~NetworkFrameManager()
{

}

/// 处理网络字符串消息
void NetworkFrameManager::OnTcpServerProcessNetText(TCPClientInfo* client,wxString mes)
{

}

/// 处理网络二进制消息
void NetworkFrameManager::OnTcpServerProcessNetData(TCPClientInfo* client,int msgType,wxMemoryBuffer& data)
{

}

/// 处理一个新的连接到达
void NetworkFrameManager::OnTcpServerProcessConnectedNet(TCPClientInfo* client)
{

}

/// 处理一个连接关闭
void NetworkFrameManager::OnTcpClientProcessDisconnectedNet(TCPClientInfo* client)
{

}

/// 处理网络字符串消息
void NetworkFrameManager::OnTcpClientProcessNetText(WTcpClient* client,wxString mes)
{

}

/// 处理网络二进制消息
void NetworkFrameManager::OnTcpClientProcessNetData(WTcpClient* client,int msgType,wxMemoryBuffer& data)
{

}

/// 处理一个新的连接到达
void NetworkFrameManager::OnTcpClientProcessConnectedNet(WTcpClient* client)
{

}

/// 处理一个连接关闭
void NetworkFrameManager::OnTcpClientProcessDisconnectedNet(WTcpClient* client)
{

}

/// 处理http消息
bool NetworkFrameManager::OnProcessHttpMessage(const WHttpRequest& request, WHttpResponse& response)
{
    return false;
}

/// 处理网络字符串消息
void NetworkFrameManager::OnWebSocketProcessNetText(WebSocketlientInfo* client,wxString mes)
{

}

/// 处理网络二进制消息
void NetworkFrameManager::OnWebSocketProcessNetData(WebSocketlientInfo* client,int msgType,wxMemoryBuffer& data)
{

}

/// 处理一个新的连接到达
void NetworkFrameManager::OnWebSocketProcessConnectedNet(WebSocketlientInfo* client)
{

}

/// 处理一个连接关闭
void NetworkFrameManager::OnWebSocketProcessDisconnectedNet(WebSocketlientInfo* client)
{

}
